Compilation Manual:

This document explains the compilation of source codes that belong to OneTouch Solutions
Door Security Manager System.It consists of three parts:

1)Pic(16F877) Program:Explains the process of compiling and burning(installing)
microchip program.
2)Door Controller:Explains the process of compiling door controller program 
working at embedded linux box. 
3)DSM:Compilation process of master computer- door security manager program.


1.Pic Program:

1.1.Required Libraries and Tools To Compile and Run:

Compiler Software:HI-TECH PICC Compiler v8.00PL4

1.2.Compilation Process:

Open the WDECODER.c under the \Source Codes\Pic Program folder using HI-TECH PICC compiler.
And compile the program.

1.3.Burning the Program the PIC 16f877 microchip:

Load WDECODER.HEX to the microchip.

2.Door Controller:

2.1.Required Libraries and Tools To Compile and Run:

The door controller program is compiled in the Linux platform using GCC compiler version 3.3.4 or above.The GCC compiler
should also contain support for the make utility. Our program uses standard C/C++ libraries supplied in linux therefore a standard instalation 
of GCC compiler is enough to build our program. No other dependencies are present. 

2.2.Compilation Process:

Under the \Source Codes\DoorController typing the "make" command 
compiles the program and produces an executable file namely "Controller"

3.DSM(Door Security Manager):

3.1.Required Libraries and Tools To Compile and Run:

Compiler Software:Microsoft Visual Studio .NET 2003
Libraries:.NET Framework 1.1 or higher,Microsoft Office Xp For Data Exporting functionalities

3.2.Compilation Process:

Open the \Source Codes\DSM\DSM.sln file in Visual Studio .NET and using Build->Build Solution Interface.Output
will be generated under the \Source Codes\DSM\debug directory

